package com.ndp.fb.rdb.model;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.Id;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by Evan on 2014/12/30 19:41.
 */
@Setter
@Getter
@NoArgsConstructor
//关联结果
public class PublishBatchResult implements Serializable {
    private static final long serialVersionUID = 3171664262118464725L;
    @Id
    private Long id;
    //publish_batch_name
    private String publishBatchName;
    //publish_status
    private Integer publishStatus;
    @Column(value = "all_account_count")
    private Integer allAdAccountCount;
    private Integer allCampaignCount;
    @Column(value = "all_adset_count")
    private Integer allAdSetCount;
    @Column(value = "all_adgroup_count")
    private Integer allAdGroupCount;
    @Column(value = "all_adcreative_count")
    private Integer allAdCreativeCount;
    private Long publishResultId;
    @Column("fb_account_id")
    private String accountId;
    @Column("name")
    private String accountName;
    //adcampaign_count
    private Integer adcampaignCount;
    //adset_count
    private Integer adsetCount;
    //adgroup_count
    private Integer adgroupCount;
    //adcreative_count
    private Integer adcreativeCount;
}
